package com.glela.serial.model.response;

import java.util.ArrayList;
import java.util.List;

import com.glela.goods.model.vo.goods.GoodsSimpleVo;

public class ResponseSerial {

	private int serialId;// 期ID
	private int seeCount;// 浏览数
	private int goodsNum; // 商品数量
	private long talentId;// 本期资讯的发布者ID
	private String title = "";// 标题
	private String coverImgpath = "";// 封面图
	private List<GoodsSimpleVo> goodsList; // 本期发布的商品

	public long getTalentId() {
		return talentId;
	}

	public void setTalentId(long talentId) {
		this.talentId = talentId;
	}

	public int getSerialId() {
		return serialId;
	}

	public void setSerialId(int serialId) {
		this.serialId = serialId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		if (title == null) {
			this.title = "";
		} else {
			this.title = title;
		}
	}

	public String getCoverImgpath() {
		return coverImgpath;
	}

	public void setCoverImgpath(String coverImgpath) {
		if (coverImgpath == null) {
			this.coverImgpath = "";
		} else {
			this.coverImgpath = coverImgpath;
		}
	}

	public int getSeeCount() {
		return seeCount;
	}

	public void setSeeCount(int seeCount) {
		this.seeCount = seeCount;
	}

	public List<GoodsSimpleVo> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<GoodsSimpleVo> goodsList) {
		if (goodsList == null) {
			this.goodsList = new ArrayList<GoodsSimpleVo>();
		} else {
			this.goodsList = goodsList;
		}
	}

	public int getGoodsNum() {
		return goodsNum;
	}

	public void setGoodsNum(int goodsNum) {
		this.goodsNum = goodsNum;
	}
}
